package tchk.xyz.lingyuntutorminiprogram.dto;

import lombok.Data;
import java.math.BigDecimal;

@Data
public class TeacherSearchDTO {
    // 分页参数
    private long current = 1;
    private long size = 10;

    // 排序字段 (e.g., "default", "rating", "price_asc", "price_desc")
    private String sortBy;

    // 搜索关键词 (用于搜索老师姓名或昵称)
    private String keyword;

    // --- 筛选条件 ---
    private String subject;
    private String grade;
    private BigDecimal minPrice;
    private BigDecimal maxPrice;
    private String teachingYears; // (e.g., "1-3", "3-5", "5+")
    private Boolean certifiedOnly;
}